.class Les/af$a;
.super Ljava/lang/Object;
.source "DbScanner.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/af;->a(Ljava/lang/String;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Ljava/lang/String;

.field final synthetic b:Les/af;


# direct methods
.method constructor <init>(Les/af;Ljava/lang/String;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/af$a;->b:Les/af;

    iput-object p2, p0, Les/af$a;->a:Ljava/lang/String;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 8

    .line 1
    invoke-static {}, Les/vu;->b()Ljava/util/List;

    move-result-object v0

    .line 2
    iget-object v1, p0, Les/af$a;->b:Les/af;

    invoke-static {v1}, Les/af;->a(Les/af;)Ljava/util/List;

    move-result-object v1

    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_0

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Les/ef;

    .line 3
    invoke-interface {v2, v0}, Les/ef;->a(Ljava/util/List;)V

    goto :goto_0

    .line 4
    :cond_0
    iget-object v0, p0, Les/af$a;->b:Les/af;

    invoke-static {v0}, Les/af;->b(Les/af;)Les/aw;

    move-result-object v0

    iget-object v1, p0, Les/af$a;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Les/aw;->e(Ljava/lang/String;)I

    move-result v0

    const/4 v1, 0x0

    const/16 v2, 0x64

    .line 5
    :goto_1
    iget-object v3, p0, Les/af$a;->b:Les/af;

    invoke-static {v3}, Les/af;->c(Les/af;)Z

    move-result v3

    if-nez v3, :cond_5

    .line 6
    iget-object v3, p0, Les/af$a;->b:Les/af;

    invoke-static {v3}, Les/af;->b(Les/af;)Les/aw;

    move-result-object v3

    invoke-virtual {v3, v0, v1, v2}, Les/aw;->a(III)Ljava/util/List;

    move-result-object v3

    .line 7
    invoke-interface {v3}, Ljava/util/List;->isEmpty()Z

    move-result v4

    if-eqz v4, :cond_1

    .line 8
    invoke-static {}, Les/af;->a()Ljava/lang/String;

    move-result-object v0

    const-string v1, "finish getMediaFiles!"

    invoke-static {v0, v1}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_4

    .line 9
    :cond_1
    invoke-interface {v3}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v4

    :cond_2
    invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z

    move-result v5

    if-eqz v5, :cond_4

    invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Les/we;

    .line 10
    iget-object v6, p0, Les/af$a;->b:Les/af;

    invoke-static {v6}, Les/af;->c(Les/af;)Z

    move-result v6

    if-eqz v6, :cond_3

    goto :goto_3

    .line 11
    :cond_3
    iget-object v6, p0, Les/af$a;->b:Les/af;

    invoke-static {v6}, Les/af;->a(Les/af;)Ljava/util/List;

    move-result-object v6

    invoke-interface {v6}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v6

    :goto_2
    invoke-interface {v6}, Ljava/util/Iterator;->hasNext()Z

    move-result v7

    if-eqz v7, :cond_2

    invoke-interface {v6}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Les/ef;

    .line 12
    invoke-interface {v7, v5}, Les/ef;->a(Les/we;)V

    goto :goto_2

    .line 13
    :cond_4
    :goto_3
    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v3

    add-int/2addr v1, v3

    goto :goto_1

    .line 14
    :cond_5
    :goto_4
    iget-object v0, p0, Les/af$a;->b:Les/af;

    invoke-static {v0}, Les/af;->a(Les/af;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_5
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_6

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Les/ef;

    .line 15
    invoke-interface {v1}, Les/ef;->stop()V

    goto :goto_5

    :cond_6
    return-void
.end method
